package hhh.app.presenter.di.component;

import android.content.Context;

import javax.inject.Singleton;

import dagger.Component;
import hhh.app.domain.repository.ProductRepository;
import hhh.app.presenter.di.module.AppModule;
import hhh.app.presenter.ui.base.BaseActivity;

/**
 * Created by hhh on 2016/11/23.
 */
@Singleton
@Component(modules = {AppModule.class})
public interface AppComponent {
    void inject(BaseActivity baseActivity);

    Context context();
    ProductRepository productRepository();
}
